package leetcode.D100.T39;

import util.ListUtil;

import java.util.List;

public class M39 {
    public static void main(String[] args) {
        int[] candidates = ListUtil.parseIntArray("[2,3,6,7]");
        int target = 7;
        List<List<Integer>> results = new Solution().combinationSum(candidates, target);
        for (List<Integer> result : results) {
            for (Integer x : result) {
                System.out.print(x + " ");
            }
            System.out.println();
        }
    }
}
